package com.cykj.feign;

import com.cykj.dto.ResponseDTO;
import com.cykj.feign.impl.GoodControllerFeignFactoryImpl;
import com.cykj.vo.CyGoodVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "jd-good", path = "/jd/cli/good",
        fallbackFactory = GoodControllerFeignFactoryImpl.class)
public interface GoodControllerFeign {
    @RequestMapping("/subGoodStock")
    ResponseDTO subGoodStock(CyGoodVO cyGoodVO);
}
